package ace.cmp.security.core.impl.model.dto;

import java.util.Map;
import java.util.Set;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author caspar
 * @date 2023/3/3 14:16
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Oauth2UserInfoDto {
  /**
   * 账户id
   */
  private String id;

  /**
   * 账户属性
   */
  private Map<String, String> attributes;

  /**
   * 账户权限
   */
  private Set<String> authorities;
}
